// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 登录  */
export async function dummyLogin(params: any) {
  return request('/api/v1/user/dummyLogin', {
    method: 'POST',
    data: params,
  });
}

/** 登出  */
export async function loginout(params: any) {
  return request('/api/v1/user/logout', {
    method: 'POST',
    data: params,
  });
}

//
export async function jitGWRandom(data: any) {
  return request('/api/v1/randomController/singleCert', {
    method: 'POST',
    data: data,
  });
}

export async function authenCert(data: any) {
  return request('/api/v1/authenController/authenCert', {
    method: 'POST',
    data: data,
  });
}
